<#import "/common/base.ftl" as base/>
<#import "/common/button.ftl" as but/>
<#import "/common/tableOpt.ftl" as tabt/>
<#import "/common/widget.ftl" as widget/>
<#assign jses=[
"/js/service/reg.js",
				"/js/app/reg.js"] in base/>
<@base.page "">
<!-- -->
<div class="grid-content bg-purple-light">
	<el-col :span="12" class="content-wrapper">
		<section>
			<el-form :model="editVm.data" label-width="150px" ref="editForm">
				<el-row>
					<el-form-item label="机器码" prop="keys">
						<el-input v-model="editVm.data.keys" :disabled="true" maxlength="50"></el-input>
					</el-form-item>
					<el-form-item label="注册码" prop="regcode">
						<el-input type="textarea" :rows="5" v-model="editVm.data.regcode" maxlength="255"></el-input>
					</el-form-item>
				</el-row>
			</el-form>
			<el-row>
				<@but.save "save(editVm,saveSuccess)" ':loading="editVm.loading"'/>
			</el-row>
		</section>
	</el-col>
</div>

</@base.page>
